package Bank;

public class BankAccount
{
	protected int		bankAccountID;
	protected double	amount;
	
	public BankAccount(int bankAccountID, double amount)
	{
		this.bankAccountID	= bankAccountID;
		this.amount			= amount;
	}
	public String toString()
	{
		return "\nBankaccount ID   : " + bankAccountID +
			   "\nAmount           : " + amount;
	}
	public int getBankAccountID()
	{
		return bankAccountID;
	}
	public double getAmount()
	{
		return amount;
	}
}
